Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

fix(dal): import func arguments during module update and fix PropPath…#8335

Merged
aaron-dernley merged 1 commit intomainfrom
fix/dal/import-func-arguments
Jan 23, 2026
Merged

fix(dal): import func arguments during module update and fix PropPath…#8335
aaron-dernley merged 1 commit intomainfrom
fix/dal/import-func-arguments

Conversation

@aaron-dernley
Copy link
Contributor

@aaron-dernley aaron-dernley commented Jan 23, 2026

… conversion

Two fixes for module import:

  1. import_funcs_for_module_update was not importing func arguments after creating/updating funcs, causing MissingFuncArgument errors when attribute functions referenced arguments that didn't exist.

  2. create_attr_proto_arg was converting prop_path strings directly via .into() which stored the slash-separated path as a single part. PropPath uses \x0B (vertical tab) as the internal separator, so as_parts() would return the whole path as one element, causing ChildPropNotFoundByName errors. Now properly splits by '/' and constructs PropPath with the parts.

How was it tested?

  • Integration tests pass
  • Manual test: new functionality works in UI
  • Manual test: (regression check) creating a component still works
  • Manual test: Importing a clover generated schema with a new attribute func now works

Does it require a docs change?

  • No
  • Yes, and this PR includes it
  • Yes, and this PR does not include it (reasoning below)

In short: 🔗

@github-actions
Copy link

github-actions bot commented Jan 23, 2026

Dependency Review

✅ No vulnerabilities or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions github-actions bot added the A-dal label Jan 23, 2026
@aaron-dernley aaron-dernley marked this pull request as ready for review January 23, 2026 00:30
sprutton1
sprutton1 previously approved these changes Jan 23, 2026
Copy link
Contributor

@sprutton1 sprutton1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of nits, but otherwise lgtm

@aaron-dernley
Copy link
Contributor Author

Made those changes based on your feedback @sprutton1 - good catches, thank you.

@aaron-dernley aaron-dernley added this pull request to the merge queue Jan 23, 2026
Merged via the queue into main with commit e81eefb Jan 23, 2026
10 checks passed
@aaron-dernley aaron-dernley deleted the fix/dal/import-func-arguments branch January 23, 2026 13:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants